import request from '@/utils/request'

/**
 * @Function: getConnect
 * @Description: 创建请求
 * @Author: YUKKING
 * @Version: 1.0
 */
export function getConnect(url, data, type) {
  return request({
    url: url,
    method: type || 'post',
    data: data || {}
  });
}
